import { combineReducers, createStore, legacy_createStore } from 'redux'



import userReducer from './reducers/userReducer'

import bookReducer from './reducers/bookReducer'


const rootStore = combineReducers({
    user: userReducer,
    bookReducer
})


const store = createStore(rootStore)



export default store